package com.sale.storage.api;

import com.sale.order.api.vo.PurchaseOrderTraceVo;
import com.sale.storage.api.dto.PurchaseOrderDto;
import com.sale.storage.api.dto.PurchaseOrderTrackDto;
import com.sale.storage.api.vo.UpdateInvoicedQuantityVo;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * 采购入库服务
 */
public interface RemotePurchaseReceiptService {

    /**
     * 批次到货入库
     */
     boolean batchArrival(@RequestBody PurchaseOrderDto purchaseOrderDto) throws Exception;


    /**
     * 采购订单跟踪查询
     */
    List<PurchaseOrderTrackDto> purchaseOrderTrackList(PurchaseOrderTraceVo purchaseOrderTraceVo);


    /**
     * 财务模块修改采购入库、销售退货、销售发货、采购退货发票数量及核销金额
     */
    boolean updateInvoicedQuantity(@RequestBody UpdateInvoicedQuantityVo updateInvoicedQuantityVo);
}
